<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021-05-19
  Time: 09:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>首页</title>
  </head>
  <body>
<%--  ${pageContext.servletContext.setAttribute("applicationCount",100)}--%>
<%--增加域对象applicationCount--%>  ${applicationScope.applicationCount=100}
<%--修改域对象applicationCount--%>${applicationScope.applicationCount=200}
<%--删除域对象applicationCount--%>  ${pageContext.servletContext.removeAttribute("applicationCount")}
网站访问人数：${applicationScope.applicationCount}
  </body>
</html>
